package com.wenson.structural.decorator;

/**
 * @ClassName: FoundationMakeup
 * @Author: luowangcheng
 * @Date: 2024/6/14 7:25
 * @Description:
 */
public class FoundationMakeup extends Decorator {

    public FoundationMakeup(Showable showable) {
        super(showable); //调用抽象父类的构造注入
    }

    @Override
    public void show() {
        System.out.print("打粉底【");
        showable.show();
        System.out.print("】");
    }
}
